﻿namespace XxSystem.FileManager.core
{
    public interface IFileService
    {
        IEnumerable<XFileInfo> GetList(string path);
        FileDataInfo Read(string path);
        Task Write(string path, Stream stream);
        void Copy(string sourcePath, string taragetPath);
        void Move(string sourcePath, string taragetPath);
        void Delete(string path);
        void CreteDir(string path);
        void RmDir(string path);
        void MoveDir(string sourcePath, string targetPath);
    }
}
